function ok = checkWatBal(res)
%
% Water balance checker for the little TB model
%
% Tobias Siegfried, 09/30/2008

a = res.a;
d = res.param.d;
l = res.l;
q = res.param.q;
qTB = res.qTB;
r = res.r;
V = res.V;

ok = [1 1];

for t = 1 : tEnd
    % Check Agent 1
    keyboard
    V(t,1) / res.param.dt == q(t,1) - l(t,2) - a(t,2);
    % Check Agent 2
    
end
